package org.jeecg.modules.bank.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.bank.entity.YcUserhomeBank;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.bank.entity.YcYingshengBank;
import org.jeecg.modules.front.entity.vo.FrontUserhomeBank;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Description: 用户银行卡
 * @Author: jeecg-boot
 * @Date:   2024-08-25
 * @Version: V1.0
 */
public interface IYcUserhomeBankService extends IService<YcUserhomeBank> {

    Result<String> bind(FrontUserhomeBank frontUserhomeBank, Integer userhomeId);

    Result<String> unbind(String id, Integer userhomeId);

   IPage<YcUserhomeBank> getPageList(Page page, QueryWrapper<YcUserhomeBank> queryWrapper);
}
